package com.india;

import com.india.project.push.server.MyApplicationRunner;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
@MapperScan("com.india.project.**.mapper")
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class IndiaWorkApplication {

    public static void main(String[] args) throws InterruptedException {
        SpringApplication.run(IndiaWorkApplication.class, args);
        new MyApplicationRunner().startThread();
    }

}
